package com.mzj.saas.mservice.propertybill.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;

import java.math.BigDecimal;
import java.util.Date;


public class LoadBillVO {
    private Long id;//账单id
    private String houseId;//房屋id

    private String communityName;//小区名
    private String buildingName;//楼栋名
    private String unitName;//单元
    private String roomNumber;//房号

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd")
    private Date startTime;//开始时间

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd")
    private Date afterTime;//结束时间
    private BigDecimal billingArea;//计费面积
    private String orgName;//产权单位名称
    private BigDecimal rentTotalPrice;//租金总金额
    private BigDecimal depositTotalPrice;//押金总金额
    private BigDecimal otherTotalPrice;//其他费用总金额
    private BigDecimal payable;//结算金额合计

    @Override
    public String toString() {
        return "LoadBillVO{" +
                "id=" + id +
                ", houseId='" + houseId + '\'' +
                ", communityName='" + communityName + '\'' +
                ", buildingName='" + buildingName + '\'' +
                ", unitName='" + unitName + '\'' +
                ", roomNumber='" + roomNumber + '\'' +
                ", startTime='" + startTime + '\'' +
                ", afterTime='" + afterTime + '\'' +
                ", billingArea=" + billingArea +
                ", orgName='" + orgName + '\'' +
                ", rentTotalPrice=" + rentTotalPrice +
                ", depositTotalPrice=" + depositTotalPrice +
                ", otherTotalPrice=" + otherTotalPrice +
                ", payable=" + payable +
                '}';
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getHouseId() {
        return houseId;
    }

    public void setHouseId(String houseId) {
        this.houseId = houseId;
    }

    public String getCommunityName() {
        return communityName;
    }

    public void setCommunityName(String communityName) {
        this.communityName = communityName;
    }

    public String getBuildingName() {
        return buildingName;
    }

    public void setBuildingName(String buildingName) {
        this.buildingName = buildingName;
    }

    public String getUnitName() {
        return unitName;
    }

    public void setUnitName(String unitName) {
        this.unitName = unitName;
    }

    public String getRoomNumber() {
        return roomNumber;
    }

    public void setRoomNumber(String roomNumber) {
        this.roomNumber = roomNumber;
    }

    public Date getStartTime() {
        return startTime;
    }

    public void setStartTime(Date startTime) {
        this.startTime = startTime;
    }

    public Date getAfterTime() {
        return afterTime;
    }

    public void setAfterTime(Date afterTime) {
        this.afterTime = afterTime;
    }

    public BigDecimal getBillingArea() {
        return billingArea;
    }

    public void setBillingArea(BigDecimal billingArea) {
        this.billingArea = billingArea;
    }

    public String getOrgName() {
        return orgName;
    }

    public void setOrgName(String orgName) {
        this.orgName = orgName;
    }


    public BigDecimal getRentTotalPrice() {
        return rentTotalPrice;
    }

    public void setRentTotalPrice(BigDecimal rentTotalPrice) {
        this.rentTotalPrice = rentTotalPrice;
    }

    public BigDecimal getDepositTotalPrice() {
        return depositTotalPrice;
    }

    public void setDepositTotalPrice(BigDecimal depositTotalPrice) {
        this.depositTotalPrice = depositTotalPrice;
    }

    public BigDecimal getOtherTotalPrice() {
        return otherTotalPrice;
    }

    public void setOtherTotalPrice(BigDecimal otherTotalPrice) {
        this.otherTotalPrice = otherTotalPrice;
    }

    public BigDecimal getPayable() {
        return payable;
    }

    public void setPayable(BigDecimal payable) {
        this.payable = payable;
    }

}
